<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title> 后台管理开发框架</title>
<link href="/favicon.ico" rel="icon">
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="/static/admin/layui/css/layui.css" rel="stylesheet" type="text/css" />
<link href="/static/admin/css/style.css" rel="stylesheet" type="text/css" />
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>

<style>
    .layui-card-body {
        padding-left: 0;
    }
</style>
 
<div class="layui-fluid" >
    <form class="layui-form layui-form-fixed" >
        <div class="layui-card-body" >
            <gt name="$data.id" value="0"><input type="text" name="id" value="{$data.id}" hidden=""></gt>
            <div class="layui-form-item">
                <label class="layui-form-label">应用名称</label>
                <div class="layui-input-block">
                    <input type="text" name="name" autocomplete="off"  value="{$data.name}" class="layui-input" lay-verify="required">
                </div>
            </div> 
            <div class="layui-form-item">
                <label class="layui-form-label">应用LOGO</label>
		        <div class="layui-input-inline" style="width: 306px">
		            <input name="logo" type="text" class="layui-input pic" value="{$data.logo}"  lay-verify="required" />
		        </div>
		        <button type="button" class="layui-btn layui-btn-normal" lay-upload="" lay-input="pic">上传图片</button>
            </div>  
            <div class="layui-form-item">
                <label class="layui-form-label">应用ID</label>
                <div class="layui-input-block">
                    <input type="text" name="app_id" value="{$data.app_id}" class="layui-input layui-disabled"  lay-verify="required" >
                </div>
            </div>  
            <div class="layui-form-item">
                <label class="layui-form-label">应用KEY</label>
                <div class="layui-input-block">
                    <input type="text" name="app_key" value="{$data.app_key}" class="layui-input layui-disabled"  lay-verify="required" >
                </div>
            </div>  
            <div class="layui-form-item">
                <label class="layui-form-label">应用描述</label>
                <div class="layui-input-block">
                <textarea name="content" id="content" cols="30" rows="10" style="min-height: 110px;"  
                	class="layui-textarea" lay-verify="required" >{$data.content}</textarea>
                </div>
            </div>
        </div>

        <div class="layui-footer" style="text-align: center;">
            <button class="layui-btn layui-btn-primary" type="button"  pa-event="closeDialog" >取消</button>
            <button class="layui-btn layui-btn-normal" lay-filter="submitIframe" lay-submit>提交</button>
        </div>
    </form>
</div>
<script src="/static/admin/layui/layui.js?v=1.0.0"></script>
<script src="/static/admin/js/common.js?v=1.0.0"></script>
